package cn.wolfcode.luowowo.acticle.domain;

import cn.wolfcode.luowowo.common.domain.BaseDomain;
import cn.wolfcode.luowowo.member.domain.UserInfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.Date;
import java.util.List;

@Setter@Getter
@NoArgsConstructor
public class AswerDetail extends BaseDomain{
    private Long titleId;
    private String title;//提问标题
    private String coverUrl;//图片
    private Destination dest;//目的地
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date crateTime;//发布时间
    private Long state;//状态
    private UserInfo userInfo;//用户id
    private AswerContent content;//回答文本
    private List aswerTag;//标签
    private int top;//顶
    private int remark;//评论
    private int read;//阅读



}